package nc.itf.yst;

import nc.bs.dao.DAOException;
import nc.ui.querytemplate.querytree.IQueryScheme;
import nc.vo.pub.BusinessException;
import nc.vo.yst.pb.AggPbHVO;

public interface IPBMaintain {

	public void delete(AggPbHVO[] clientFullVOs,
			AggPbHVO[] originBills) throws BusinessException;

	public AggPbHVO[] insert(AggPbHVO[] clientFullVOs,
			AggPbHVO[] originBills) throws BusinessException;

	public AggPbHVO[] update(AggPbHVO[] clientFullVOs,
			AggPbHVO[] originBills) throws BusinessException;

	public AggPbHVO[] query(IQueryScheme queryScheme)
			throws BusinessException;

	public AggPbHVO[] save(AggPbHVO[] clientFullVOs,
			AggPbHVO[] originBills) throws BusinessException;

	public AggPbHVO[] unsave(AggPbHVO[] clientFullVOs,
			AggPbHVO[] originBills) throws BusinessException;

	public AggPbHVO[] approve(AggPbHVO[] clientFullVOs,
			AggPbHVO[] originBills) throws BusinessException;

	public AggPbHVO[] unapprove(AggPbHVO[] clientFullVOs,
			AggPbHVO[] originBills) throws BusinessException;
	public int UpdatePbHVO(String pk_haed,String zt) throws DAOException;
	
	public String[] queryPKs(IQueryScheme queryScheme)
			throws BusinessException;
	
	public AggPbHVO[] queryBillByPK(String[] pks)
			throws BusinessException;
}
